package com.cuixichang.minimalism.transfer.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cuixichang.minimalism.core.mybatis.base.BasePo;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 系统路由绑定关系表
 *
 * @author cuixichang
 * @date 2024-12-18
 */
@TableName("i_router_relation")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class IRouterRelation extends BasePo {

    private static final long serialVersionUID = 1L;

   /**
    * 路由Id
    */
    @TableField("router_id")
    private Long routerId;

   /**
    * 绑定关系Id
    */
    @TableField("relation_id")
    private Long relationId;

   /**
    * 绑定是角色还是权限【0:绑定权限(默认);1:绑定角色】
    */
    @TableField("role_relation")
    private Boolean roleRelation;


}
